import {defineStore} from "pinia";
import {ref} from 'vue'

export const useStore= defineStore("count", ()=>{

    let i = ref(88);

    const update = () => {
        i.value += 2;
    }
    return{
        i,  //导出的变量
        update,  //导出的方法
    }

})